net/http.http2StreamError.Code (field)
16 uses
net/http (current package)
h2_bundle.go#L1397: Code http2ErrCode
h2_bundle.go#L1407: return http2StreamError{StreamID: id, Code: code}
h2_bundle.go#L1412: return fmt.Sprintf("stream error: stream ID %d; %v; %v", e.StreamID, e.Code, e.Cause)
h2_bundle.go#L1414: return fmt.Sprintf("stream error: stream ID %d; %v", e.StreamID, e.Code)
h2_bundle.go#L5991: Code: http2ErrCodeInternal,
h2_bundle.go#L7319: code = http2ErrCode(e.Code)
h2_bundle.go#L8006: if se.Code == http2ErrCodeProtocol && se.Cause == http2errFromPeer {
h2_bundle.go#L8010: return se.Code == http2ErrCodeRefusedStream
h2_bundle.go#L8981: cc.writeStreamReset(cs.ID, se.Code, false, err)
h2_bundle.go#L9620: Code: http2ErrCodeProtocol,
h2_bundle.go#L9649: Code: http2ErrCodeProtocol,
h2_bundle.go#L9977: Code: http2ErrCodeProtocol,
h2_bundle.go#L9985: Code: http2ErrCodeProtocol,
h2_bundle.go#L9994: Code: http2ErrCodeProtocol,
h2_bundle.go#L10243: Code: http2ErrCodeFlowControl,
h2_bundle.go#L10869: return ctx.Framer().WriteRSTStream(se.StreamID, se.Code)